package Atm.temo2;

public class Business {
    public static void main(String[] args) {
        Bank bank = new Bank() {
            @Override
            public void takeNumber() {
                System.out.println("我要办理业务");
            }

            @Override
            public void transact() {
                System.out.println("办理业务中");
            }

            @Override
            public void evaluate() {
                System.out.println("反馈评价");
            }
        };
        bank.takeNumber();
        bank.transact();
        bank.evaluate();
    }
}
